package com.test.myapp.service;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;


@Component
public class User {	
	@Value("${test.username}")
	private String username="12";

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}
	
	public void doit(){
		System.out.println("User do!");
	}
}
